#include "GameObject.h"

namespace Putin{

GameObject::GameObject(void)
{
	mShadow = true;
	// no child by default
	mChildMesh = "";
	mChildMaterial = "";
	mChildFacingDirection = Vec3f(1.0f,0.0,0.0);
}

GameObject::~GameObject(void)
{
	
}
void GameObject::removeEffect(std::string effect)
{
	for( std::vector<std::string>::iterator i = mEffectList.begin();
			i != mEffectList.end(); i++)
	{
		if( (*i) == effect ) 
		{
			mEffectList.erase(i);
			break;
		}
	}
}

void GameObject::pushEffect(std::string effect)
{
	mEffectList.push_back(effect);
}
}